using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using OgilvyOne.IDAL;
using OgilvyOne.Model;
using OgilvyOne.DALFactory;

namespace OgilvyOne.BLL
{
    public class BLLScoreRule
    {
        // Methods
        public ScoreRuleInfo GetScoreRuleInfo(int id)
        {
            return ScoreRule.Create().GetScoreRuleInfo(id);
        }

        public IList GetScoreRuleList(int flag)
        {
            return ScoreRule.Create().GetScoreRuleList(flag);
        }

        public void UpdateScoreRule(ScoreRuleInfo info)
        {
            ScoreRule.Create().Update(info);
        }

    }
}
